﻿using System.Text;

namespace TaoSharp.Core
{
    static class StringBuilderExtension
    {
        public static string Join(this StringBuilder sb, char splitChar)
        {
            StringBuilder bTemp = new StringBuilder();
            bTemp.Append(sb[0]);
            for (int i = 1; i < sb.Length; i++)
            {
                bTemp.Append(splitChar.ToString());
                bTemp.Append(sb[i]);
            }

            return bTemp.ToString();
        }
    }
}